<html>
<body>
<script type="text/javascript">
var mycars = new Array()
mycars[0] = "Saab"
mycars[1] = "Volvo"
mycars[2] = "BMW"

for (var x in mycars)
{
document.write(mycars[x] + "<br />")
}
</script>
</body>
</html>
